package com.gp.model.entity;

import com.baomidou.mybatisplus.annotations.TableName;

/**
 * @author: 弓成龙
 * @date : 2018年3月14日
 * @email : gcx909109@sina.cn
 * @description: 访问日志
 */
@TableName("base_accessLog")
public class AccessLog  {
 
  /** id **/
  private Long id;
  /** 用户名 **/
  private String username;
  /** sessionId **/
  private String sessionId;
  /** userId **/
  private String userId;
  /** 用户手机号 **/
  private String phoneno;
  /** 访问的url **/
  private String accessUrl;
  /** 访问的时间 **/
  private String accessTime;
  /** url 层级 **/
  private int urlLevel;
  /** 用户代理 **/
  private String userAgent;
  /** 浏览器类型 **/
  private String browser;
  /** 用户IP **/
  private String IP;
  /** 来源 **/
  private String sourceUrl;

  public AccessLog(String username, String sessionId, String userId, String phoneno,
      String accessUrl, String accessTime, int urlLevel, String userAgent, String browser,
      String iP, String sourceUrl) {
    this.username = username;
    this.sessionId = sessionId;
    this.userId = userId;
    this.phoneno = phoneno;
    this.accessUrl = accessUrl;
    this.accessTime = accessTime;
    this.urlLevel = urlLevel;
    this.userAgent = userAgent;
    this.browser = browser;
    IP = iP;
    this.sourceUrl = sourceUrl;
  }

  public AccessLog() {}

  public String getSourceUrl() {
    return sourceUrl;
  }

  public void setSourceUrl(String sourceUrl) {
    this.sourceUrl = sourceUrl;
  }

  public String getUserAgent() {
    return userAgent;
  }

  public void setUserAgent(String userAgent) {
    this.userAgent = userAgent;
  }

  public String getBrowser() {
    return browser;
  }

  public void setBrowser(String browser) {
    this.browser = browser;
  }

  public String getIP() {
    return IP;
  }

  public void setIP(String iP) {
    IP = iP;
  }

  public String getUsername() {
    return username;
  }

  public void setUsername(String username) {
    this.username = username;
  }

  public String getSessionId() {
    return sessionId;
  }

  public void setSessionId(String sessionId) {
    this.sessionId = sessionId;
  }

  public String getUserId() {
    return userId;
  }

  public void setUserId(String userId) {
    this.userId = userId;
  }

  public String getPhoneno() {
    return phoneno;
  }

  public void setPhoneno(String phoneno) {
    this.phoneno = phoneno;
  }

  public String getAccessUrl() {
    return accessUrl;
  }

  public void setAccessUrl(String accessUrl) {
    this.accessUrl = accessUrl;
  }

  public String getAccessTime() {
    return accessTime;
  }

  public void setAccessTime(String accessTime) {
    this.accessTime = accessTime;
  }

  public int getUrlLevel() {
    return urlLevel;
  }

  public void setUrlLevel(int urlLevel) {
    this.urlLevel = urlLevel;
  }

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

}

